make Accessible
Adds the publicTypes
to the types that are accessible from JavaScript
.
Only public classes and interfaces are allowed as an argument. Passing an enum or an annotation type results in NotSupportedTypeException.
Parameters
public Types
the types to be made accessible
Throws
if a type in the publicTypes
array is an enum or an annotation
if the publicTypes
array contains a type without the public
modifier